package com.wing.qualityTesting.model.response;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @version 1.1.0
 * @Author hz
 * @Date 2024-10-31 09:34
 **/
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class QualityDetailRecordInfoVo {
    //-------------------------------------- 任务相关 ----------------------------------------//

    private String code;

    /**
     * 质检分类
     */
    private String testingCategoryName;
    private String qualityTestingCategoryId;

    /**
     * 质检类型
     */
    private String testingTypeName;
    private String qualityTestingTypeId;

    private String qualityTestingNatureName;

    /**
     * 送检数量
     */
    private Integer submissionQuantity;

    /**
     * 状态
     */
    private String status;

    /**
     * 所属开工单
     */
    private String workOrderCode;
    private Long workId;

    /**
     * 送检工站
     */
    private String deviceCode;
    /**
     * 产品编号
     */
    private String skuCode;
    /**
     * SKU名称
     */
    private String skuName;
    private String skuSpec;
    /**
     * 附件
     */
    private String accessory;

    /**
     * 计划编号
     */
    private String planCode;

    /**
     * 载具编码
     */
    private String carrierCode;

    /**
     * 处理方式
     */
    private String dealWay;

    /**
     * 备注
     */
    private String remark;


    //--------------------------- 检测样品信息 -----------------------------//
    /**
     * 样品编码
     */
    private String sampleCode;


    /**
     * 检验工站id
     */
    private Long inspectDeviceId;

    /**
     * 检验工站编号
     */
    private String inspectDeviceCode;

    /**
     * 检测结果
     */
    private String qualityTestingResultName;

    /**
     * 检测结果id
     */
    private String qualityTestingResult;

    /**
     * 检测时间
     */
    private String modifierName;

    /**
     * 检测人
     */
    private LocalDateTime updateTime;

    /**
     * 检测状态
     */
    private String JCStatus;

    private String statusDesc;

    /**
     * 检测备注
     */
    private String JCRemark;


    //----------------------------------- 检测项目 检测结果 -------------------------//
    /**
     * 检测结果
     */
    private List<QualityDetailValueInfoVo> detailValueInfoVos;

    /**
     * 工序名称
     */
    private String processName;

    /**
     * 基准书ID
     */
    private Long bookId;

    private Long qcQualityTypeId;

    private String qcQualityTypeName;


    /**
     *合格数(简易独有)
     */
    private Integer okQuantity;
    /**
     *返修数(简易独有)
     */
    private Integer returnQuantity;
    /**
     *报废数(简易独有)
     */
    private Integer ngQuantity;
    /**
     *合格入仓库(简易独有)
     */
    private Long okWarehouseType;
    /**
     *报废入仓库(简易独有)
     */
    private Long ngWarehouseType;
    /**
     *返修入仓库(简易独有)
     */
    private Long returnWarehouseType;


}
